<?php

namespace App\Http\Controllers\Admin\System;

use App\Http\Controllers\AdminController;

class TasksController extends AdminController
{

    public function data()
    {
        return $this->succeed([
            [
                "id" => "100",
                "taskName" => "年度报表生成",
                "type" => "report",
                "result" => "",
                "state" => "0",
                "stateName" => "执行中",
                "createDate" => "2022-06-13 17:04:55"
            ],
            [
                "id" => "101",
                "taskName" => "系统日志导出",
                "type" => "export",
                "result" => "https://www.baidu.com/",
                "state" => "1",
                "stateName" => "完成",
                "createDate" => "2022-06-12 09:31:08"
            ]
        ]);
    }
}
